<template>
  <file-viewer :file-list='fileList'></file-viewer>
</template>

<script>
import FileViewer from "@/components/file-viewer";
export default {
  name: 'HelloWorld',
  components: {
    FileViewer
  },
  data () {
    return {
      fileList: [
        {type: 'jpeg',title: "1123213213213213213213213211", src: 'https://fuss10.elemecdn.com/8/27/f01c15bb73e1ef3793e64e6b7bbccjpeg.jpeg'},
        {title: "12", type: 'jpeg',src: 'https://fuss10.elemecdn.com/1/8e/aeffeb4de74e2fde4bd74fc7b4486jpeg.jpeg'},
        {type: 'pdf',title: "pdf", src: 'http://localhost:8080/static/test.pdf'},
        {type: 'jpeg',title: "13", src: 'https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg'},
      ]
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
